﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core
{
    public class JurnalPembelian
    {
       
            public virtual string NoVoucher { get; set; }
            public virtual DateTime Tanggal { get; set; }
            public virtual Supplier Supplier { get; set; }
            public virtual string Description { get; set; }
            public virtual Employee PurchaseOfficer { get; set; }
            public virtual IList<JurnalPembelianDetail> JurnalPembelianDetails { get; set; }

    }


    public class  JurnalPembelianDetail
    {
        public virtual Guid JurnalPembelianDetailId { get; set; }
        public virtual String AccountNumber { get; set; }
        public virtual Decimal Debit { get; set; }
        public virtual Decimal Kredit { get; set; }
        public virtual string Description { get; set; }
        public virtual JurnalPembelian JurnalPembelian { get; set; }
        public virtual Departemen Departemen { get; set; }
    }
}
